package com.piggy.sys.service.base;

import com.piggy.common.core.web.page.IServicePlus;
import com.piggy.sys.api.vo.BaseAddressVo;
import com.piggy.sys.domain.base.BaseDistrict;

import java.util.List;
import java.util.Map;

/**
 * 区县
 */
public interface IBaseDistrictService extends IServicePlus<BaseDistrict> {

    /**
     * 获取区县集合
     */
    List<BaseAddressVo> getDistrict(String parentId);

    BaseAddressVo getDistrictVo(String districtId);

    Map<String, String> getDistrictMap(List<String> districtIds);
}
